; Eventsfile 3 - Franken

@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
12
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
CITYTAKEN
city=Aachen
attacker=ANYBODY
defender=Germans
@THEN
TEXT
^Aachen, one of the most important German cities, falls after 
a long siege, even lasting for several months! The conquerors 
capture nearly the whole Imperial Treasure!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=London
attacker=ANYBODY
defender=English
@THEN
TEXT
London, seat of the English King, is conquered after hard 
battles! The victors capture the Crown Jewels!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Paris
attacker=ANYBODY
defender=Franks
@THEN
TEXT
^Paris, residence of the Frankish King, falls after a fierce 
struggle! The besiegers discover numerous treasures!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Constantinople
attacker=ANYBODY
defender=Byzantines
@THEN
TEXT
^Constantinople, the "Eastern Rome" and seat of the Byzantine 
Emperor's Throne, falls with fierce resistance. In the Palace 
Quarters the conquerors find numerous ancient works of art, 
valuable relics and a plenty of gold!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=3000
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Cairo
attacker=ANYBODY
defender=Aijubides
@THEN
TEXT
^Cairo, residence of the Aijubide dynasty, is captured! 
In the citadel many valuable treasures are stored!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1500
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Alexandria
attacker=ANYBODY
defender=Aijubides
@THEN
TEXT
^Alexandria, the most important seaport of Egypt, 
falls with tough resistance! At the storm on the 
city valuable stocks are destroyed!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=-300
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Damietta
attacker=ANYBODY
defender=Aijubides
@THEN
TEXT
^Damietta surrenders after fierce struggles! 
The vicinity of the city was completely 
devastated during the long siege! 
ENDTEXT
JUSTONCE
CHANGETERRAIN
terraintype=1
maprect
96,108,96,108,96,108,96,108
@ENDIF

@IF
CITYTAKEN
city=Damietta
attacker=ANYBODY
defender=Aijubides
@THEN
JUSTONCE
CHANGETERRAIN
terraintype=1
maprect
95,109,95,109,95,109,95,109
@ENDIF

@IF
CITYTAKEN
city=Baghdad
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
^Baghdad, once seat of the arabic Caliphes, is conquered!
The besiegers discover enormous treasures!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Cordoba
attacker=ANYBODY
defender=Almohads
@THEN
TEXT
^Cordoba, the Moorish capital in Iberia falls 
after fierce struggles! The entire treasure of 
the Almohads is captured!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1500
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Tunis
attacker=ANYBODY
defender=Almohads
@THEN
TEXT
^Tunis, one of the most important bases for North African pirates 
is conquered! Lots of robbed goods are taken back!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Rome
attacker=ANYBODY
defender=Independants
@THEN
TEXT
^Rome falls under heavy attacks! The pope escapes to Avignon! 
The whole Christianity is shocked!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Jerusalem
attacker=Franks
defender=ANYBODY
@THEN
TEXT
^Franconian Crusaders take Jerusalem! The whole Christianity thanks 
the victorious holy warriors!
^The Pope calls for a search for the True Cross of Jesus!
ENDTEXT
PLAYWAVEFILE
GLOCKEN.WAV
JUSTONCE
GIVETECHNOLOGY
receiver=Franks
technology=73
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Teutonic Knight
owner=Germans
veteran=yes
homecity=none
locations
60,20
51,11
52,30
48,18
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Markgraf
owner=Germans
veteran=yes
homecity=none
locations
48,18
38,24
43,25
42,30
43,11
46,34
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Duke
owner=English
veteran=yes
homecity=none
locations
29,25
28,26
26,28
25,29
20,24
24,26
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
TEXT
^New vassals swear loyalty to the crown...
ENDTEXT
CREATEUNIT
unit=Chevalier
owner=Franks
veteran=yes
homecity=none
locations
33,33
28,36
28,42
24,46
32,48
25,63
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=11
@THEN
TEXT
^Some knights have broken their feudal vown! They have 
become Robber Barons, who blackmail honourable merchants 
and loot the surrounding villages!
ENDTEXT
CREATEUNIT
unit=Robber Baron
owner=Independants
veteran=yes
homecity=none
locations
34,58
34,56
34,54
34,52
34,50
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=Assassin
owner=Aijubides
veteran=yes
homecity=none
locations
106,98
106,96
105,93
104,94
103,93
102,100
104,104
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=Emir
owner=Aijubides
veteran=yes
homecity=none
locations
104,94
103,93
106,98
106,96
105,93
102,100
104,104
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=9
@THEN
CREATEUNIT
unit=Russian Knight
owner=Independants
veteran=yes
homecity=none
locations
68,32
70,50
60,56
49,49
64,60
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Knight
owner=Independants
veteran=yes
homecity=none
locations
15,71
11,69
4,76
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Camel Rider
owner=Barbarians
veteran=yes
homecity=none
locations
82,114
86,116
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Beduines
owner=Barbarians
veteran=yes
homecity=none
locations
114,98
114,100
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Light Cavalry
owner=Barbarians
veteran=yes
homecity=none
locations
95,75
102,70
110,66
111,77
113,83
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Mounted Archer
owner=Barbarians
veteran=yes
homecity=none
locations
113,83
116,94
108,104
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Bulgars
owner=Byzantines
veteran=yes
homecity=none
locations
77,59
81,61
74,68
85,63
endlocations
@ENDIF

@IF
TURN
turn=234
@THEN
TEXT
^1189. Due to the loss of Jerusalem the third crusade is organized.  
Friedrich I. Barbarossa, Richard I. Lionheart and Philipp-August build up 
their armies in the Holy Roman Empire, in England and France, the Germans
finally are the first who start, still in the same year, their way into 
the holy land... 
ENDTEXT
@ENDIF

@IF
TURN
turn=235
@THEN
TEXT
^1190. After heavy conflicts with the Byzantine emperor Barbarossa continues
his crusade and achieves  an important victory at Iconium. But the emperor 
dies during a bath in the river Saleph, his army breaks apart, and most of 
the crusaders return demoralized to Germany.
ENDTEXT
@ENDIF

@IF
TURN
turn=236
@THEN
TEXT
^1191. English and French crusaders take Acco, but the French king soon 
leaves thereafter the holy land.
^In the same year the Teutonic Order is founded. After a short period of 
fighting in the Holy Land it comes more and more to conflicts with the 
established knights orders of the Templars and Hospitalers, so the 
Teutonic Knights move back to Europe.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Germans
technology=92
JUSTONCE
@ENDIF

@IF
TURN
turn=237
@THEN
TEXT
^1192. End of the third crusade. Since Richard I. cannot conquer Jerusalem with his 
troops alone, it comes to an agreement with Saladin, which gives the major part of 
the Kingdom of Jerusalem back into Christian hands, Acco becomes the new capital. 
^Jerusalem itself remains Arabic, but free access for Christian pilgrims 
to the city is guaranteed.
ENDTEXT
@ENDIF

@IF
TURN
turn=247
@THEN
TEXT
^1202. Fourth crusade. The original target is Cairo, but since the crusaders cannot 
pay the passage provided by Venician ships, they agree to attack the Christian city 
of Zara instead, which had been formerly under the influence of Venice...
ENDTEXT
@ENDIF

@IF
TURN
turn=249
@THEN
TEXT
^1204. After the plundering of Zara the fourth crusade turns against Constantinople, 
because the Venecians reject an attack on Cairo due to their commercial interests 
there. Also, Byzantium has a bad reputation because of its partly hostile attitude 
towards Western Europe in earlier crusades. Additionally considerations of the 
catholic church, which hopes to be able to expand its influence in Byzantium as 
well as the enormous wealth of the city play a role...
^In the April of 1204 the largest and richest city of the world is heavily plundered 
by the crusaders. The Byzantine empire breaks apart, and the Latin empire is founded there.
ENDTEXT
@ENDIF

@IF
TURN
turn=251
@THEN
TEXT
^1206. Far far away from Europe Dshingis Khan unifies the clans of the Mongols 
under his rule. Soon thereafter his name becomes a symbol of fear and horror
across Asia... 
ENDTEXT
@ENDIF

@IF
TURN
turn=252
@THEN
TEXT
^1209. The Albigensian Wars begin in Southern France. The Albigensians, named 
after the city of Albi, have supporters even in the aristocracy, but the Pope 
sees them as heretics because they believe in the coexistence of good and evil, 
and they criticise the wealth of the church. The French king uses the conflict
to expand his influence in the southern part of France. The fights against 
the Albigensians get more and more merciless in the following years...
ENDTEXT
CREATEUNIT
unit=Robber Baron
owner=Independants
veteran=yes
homecity=none
locations
26,60
27,61
28,62
29,61
24,60
23,61
endlocations
@ENDIF

@IF
TURN
turn=252
@THEN
CREATEUNIT
unit=Robber Baron
owner=Independants
veteran=yes
homecity=none
locations
24,60
23,61
26,60
27,61
28,62
29,61
endlocations
@ENDIF

@IF
TURN
turn=252
@THEN
CREATEUNIT
unit=Skirmisher
owner=Independants
veteran=yes
homecity=none
locations
27,61
24,60
23,61
26,60
28,62
29,61
endlocations
@ENDIF

@IF
TURN
turn=252
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
28,62
29,61
24,60
23,61
26,60
27,61
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Knight
owner=Independants
veteran=yes
homecity=none
locations
24,60
23,61
26,60
27,61
28,62
29,61
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Pikeman
owner=Independants
veteran=yes
homecity=none
locations
27,61
24,60
23,61
26,60
28,62
29,61
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Chevalier
owner=Independants
veteran=yes
homecity=none
locations
28,62
29,61
24,60
23,61
26,60
27,61
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
TEXT
^1212. Alfonso VIII of Castile, Sancho VIII of Navarre, Pedro II of Aragon and 
additional Portugisian troops defeat the Almohads at Navas de Tolosa decisively. 
The victory triggers the final decline of the Moorish dominance over Spain.
ENDTEXT
CREATEUNIT
unit=Robber Baron
owner=Independants
veteran=yes
homecity=none
locations
26,60
27,61
28,62
29,61
24,60
23,61
endlocations
@ENDIF

@IF
TURN
turn=254
@THEN
CREATEUNIT
unit=Robber Baron
owner=Independants
veteran=yes
homecity=none
locations
23,61
26,60
27,61
28,62
29,61
endlocations
@ENDIF

@IF
TURN
turn=254
@THEN
CREATEUNIT
unit=Pikeman
owner=Independants
veteran=yes
homecity=none
locations
24,60
23,61
26,60
28,62
29,61
endlocations
@ENDIF

@IF
TURN
turn=254
@THEN
CREATEUNIT
unit=Chevalier
owner=Independants
veteran=yes
homecity=none
locations
29,61
24,60
23,61
26,60
27,61
endlocations
@ENDIF

@IF
TURN
turn=259
@THEN
TEXT
^1214. King Phillip II. August of France triumphs in the alliance with Friedrich II. 
at Bouvines over the English and their ally, emperor Otto IV.  The victory brings 
Friedrich II. the crown of the Holy Roman Empire, the Staufer leads the empire into 
its last medieval bloom.
ENDTEXT
@ENDIF

@IF
TURN
turn=271
@THEN
TEXT
^1226. Beginning of the intensified activities of the Teutonic Order in Eastern
Prussia and the Baltic area, where the Teutonic Knights establish their own realm.
ENDTEXT
@ENDIF

@IF
TURN
turn=273
@THEN
TEXT
^1228. Fifth crusade by Friedrich II. Although banned by the Pope, because 
he delayed his crusade for a long time, he uses his good relations to the 
Egytian ruler al-Kamil to win Jerusalem back by negotiations. One year later 
the goal is achieved, and Friedrich II. crowns itself in Jerusalem as king 
of the crusader state. After this success his enormous prestige forces the 
Pope in 1230 to remove the ban.
ENDTEXT
@ENDIF

@IF
TURN
turn=281
@THEN
TEXT
Alarming news from Central Asia are reaching Europe: enormous Mongol armies have 
conquered large parts of Russia and now prepare to push ahead further to the West... 
ENDTEXT
CREATEUNIT
unit=Mongols
owner=Barbarians
veteran=yes
homecity=none
locations
64,16
65,17
66,14
67,15
64,18
63,17
65,13
endlocations
@ENDIF

@IF
TURN
turn=281
@THEN
CREATEUNIT
unit=Mongol
owner=Barbarians
veteran=yes
homecity=none
locations
66,14
67,15
64,16
65,17
64,18
63,17
65,13
endlocations
@ENDIF

@IF
TURN
turn=281
@THEN
CREATEUNIT
unit=Mongol Khan
owner=Barbarians
veteran=yes
homecity=none
locations
63,17
66,14
67,15
64,16
65,17
64,18
65,13
endlocations
@ENDIF

@IF
TURN
turn=281
@THEN
CREATEUNIT
unit=Mongol
owner=Barbarians
veteran=yes
homecity=none
locations
64,18
66,14
67,15
64,16
65,17
63,17
65,13
endlocations
@ENDIF

@IF
TURN
turn=281
@THEN
CREATEUNIT
unit=Mongol Khan
owner=Barbarians
veteran=yes
homecity=none
locations
66,14
63,17
67,15
64,16
65,17
64,18
65,13
endlocations
@ENDIF

@IF
TURN
turn=282
@THEN
CREATEUNIT
unit=Mongols
owner=Barbarians
veteran=yes
homecity=none
locations
60,18
59,19
62,20
61,19
60,22
endlocations
@ENDIF

@IF
TURN
turn=282
@THEN
CREATEUNIT
unit=Mongol
owner=Barbarians
veteran=yes
homecity=none
locations
62,20
60,18
61,19
60,22
59,19
endlocations
@ENDIF

@IF
TURN
turn=282
@THEN
CREATEUNIT
unit=Mongol
owner=Barbarians
veteran=yes
homecity=none
locations
65,21
65,25
66,22
63,21
64,22
endlocations
@ENDIF

@IF
TURN
turn=282
@THEN
CREATEUNIT
unit=Mongol Khan
owner=Barbarians
veteran=yes
homecity=none
locations
66,22
65,25
65,21
63,21
64,22
endlocations
@ENDIF

@IF
TURN
turn=283
@THEN
CREATEUNIT
unit=Mongols
owner=Barbarians
veteran=yes
homecity=none
locations
60,18
59,19
62,20
61,19
60,22
endlocations
@ENDIF

@IF
TURN
turn=283
@THEN
CREATEUNIT
unit=Mongols
owner=Barbarians
veteran=yes
homecity=none
locations
62,20
60,18
61,19
60,22
59,19
endlocations
@ENDIF

@IF
TURN
turn=285
@THEN
TEXT
^1241. In the battle at Liegnitz Mongol troops defeat a combined army of German
and Polish knights, then they move off to unify with their main army, and defeat
the Hungarian king Bla already on the next day completely. Europe seems lost now, 
but the death of their Great Khan Ogodai induces the Mongols to the retreat to 
Karakorum, where Batu Khan is elected as the new Great Khan.
ENDTEXT
@ENDIF

@IF
TURN
turn=289
@THEN
TEXT
^1244. Jerusalem falls finally into Arabic hands.
ENDTEXT
@ENDIF

@IF
TURN
turn=293
@THEN
TEXT
^1248. Sixth crusade by king Ludwig IX the Saint of France, the target is again Egypt. 
In the year 1249 the crusaders take Damietta, but soon thereafter the king becomes a 
prisoner of the Arabs, and only is only released after he paid an enormous ransom. 
ENDTEXT
CHANGEMONEY
receiver=Franks
amount=-300
JUSTONCE
@ENDIF

@IF
TURN
turn=299
@THEN
TEXT
^1254. The so-called Interregnums begins. Until 1273 Germany is actually rulerless, 
then Rudolf I., the first member of the Habsburg family is crowned as German king.
ENDTEXT
@ENDIF

@IF
TURN
turn=304
@THEN
TEXT
^1259. The Mameluck Baibars strikes back the Mongol onslaught in the Middle East,
unifies Egypt and Syria and becomes Egyptian Sultan one year later.  Afterwards he
turns against the Christian crusader states, which are to weak to offer serious 
resistance without help from Europe... 
ENDTEXT
@ENDIF

@IF
TURN
turn=306
@THEN
TEXT
^1261. The Byzantines retake Constantinople and destroy the Latin empire. 
ENDTEXT
@ENDIF

@IF
TURN
turn=315
@THEN
TEXT
^1270. Seventh crusade, again led by Ludwig IX. This last large-scale crusade is
directed against Tunis, which should serve as a base for future crusades. During 
the siege however the pestilence breaks out in the French army, and also Ludwig is 
one of the victims of the disease...
ENDTEXT
@ENDIF

@ENDEVENTS
